<?php

namespace MLM\Model\Product;

use MLM\Model\Generic\Object\Map;
use MLM\Model\Generic\Object\Mapper;

class Stock extends Mapper {
    
    protected $_storage;
    
    public function __construct(\MLM\Model\Product\Stock\Storage $storage) {
   
        $this->_storage = $storage;

        parent::__construct(
                array(
                ),
                array(
                    'product_id'         => 'productId',
                    'member_id'       => 'memberId',
                    'qty'                => 'qty'
                )
         );
    }
    
    
    public function save(){
        return $this->_storage->save($this);
    }

       
}
